package net.zjitc.service;

import net.zjitc.pojo.User;

import java.util.List;

/**
 * Created by 沈银 on 2017/11/18.
 */
public interface UserService {
    List<User> findUserList();

    int deleteUser(User user);

    User findUsername(String username);

    int insert(User user);

    User findByCode(String code);

    int update(User user);

    User findByCondition(String username, String password);
}
